package cn.exrick.xboot.base.service

import cn.exrick.xboot.base.entity.JobEnterprise
import cn.exrick.xboot.base.entity.SafeScoreRecord
import cn.exrick.xboot.core.common.vo.PageVo
import cn.exrick.xboot.core.common.vo.Result
import com.baomidou.mybatisplus.extension.service.IService

/**
 * 安全得分记录接口
 * @author Fei
 */
interface ISafeScoreRecordService : IService<SafeScoreRecord?> {


    /**
     * 创建或者更新安全得分
     */
    fun createOrUpdateScoreRecord(safeScoreRecord: SafeScoreRecord): Result<Any?>?

    /**
     * 移除安全得分
     */
    fun removeScoreRecord(ids:Array<out String>): Result<Any?>?

    /**
     * 获取详情
     */
    fun getDetailById(id: String?): Result<SafeScoreRecord?>?

    /**
     * 获取安全得分
     */
    fun getJScoreRecordList(pageVo: PageVo): Result<MutableMap<String, Any?>>?

}